<template>
  <div id="indexpage">
    <router-view></router-view>
    <footer>
      <router-link to="/indexpage/index" >
        <span class="iconfont">&#xeb70;</span>
        商城
      </router-link>
      <router-link to="/indexpage/goodslist">
        <span class="iconfont">&#xeb70;</span>
        分类
      </router-link>
      <router-link to="/indexpage/shoppingcar">
        <span class="iconfont">&#xeb70;</span>
        购物车
      </router-link>
      <router-link to="/indexpage/user">
        <span class="iconfont">&#xeb70;</span>
        我的
      </router-link>
      <i></i>
    </footer>
  </div>
</template>

<script>
export default {};
</script>

<style socped>

#indexpage footer {
  width: 100vw;
  height: 1.65rem;
  background-color: #fff;
  display: flex;
  padding: 0.15rem 0.7rem 0;
  box-sizing: border-box;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
}
#indexpage footer a {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 0.18rem;
  align-items: center;
  color: #a7a7a7;
}
#indexpage footer a.cur {
  font-weight: bold;
  color: #ff6040;
}
#indexpage footer a.cur .iconfont {
  color: #ff6040;
}
#indexpage footer a .iconfont {
  color: #999;
  font-size: 0.4rem;
}
#indexpage footer i {
  width: 2.68rem;
  height: 0.1rem;
  background-color: #000;
  position: absolute;
  bottom: 0.16rem;
  left: 2.6rem;
  border-radius: 0.05rem;
} 
</style>